package com.wonders.hisdoctor.station.project.examine.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * Description: 查询检查申请Vo
 *
 * @author zhanghaonan
 * <p>
 * Create: 2021-02-08
 */
@Data
@ApiModel("查询检查申请Vo")
public class ExamineRequestVo implements Serializable {

    @ApiModelProperty("病人标识号")
    @NotBlank(message = "请在就诊队列选择就诊患者")
    private String patientId;

    @ApiModelProperty("就诊时间")
    @NotNull(message = "请在就诊队列选择就诊患者")
    @DateTimeFormat(pattern = "yyyy/MM/dd")
    @JsonFormat(pattern = "yyyy/MM/dd")
    private Date visitDate;

    @ApiModelProperty("就诊序号")
    @NotNull(message = "请在就诊队列选择就诊患者")
    private Integer visitNo;

    @ApiModelProperty("医生工号")
    private String empNo;
}
